package com.zh.Controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class demoController {
    @GetMapping("/save")
    public String save(){
        System.out.println("save....");
        return "{'name':'sb'}";
    }
    @GetMapping("/")
    public String home(){

        return "<h1>Home</h1>";
    }
}
